#ifndef RRQUADRIC_H
#define RRQUADRIC_H
#include "rrprim.h"

class RRQuadric : public RRPrim
{
private:
    float A, B, C;
    RRVec3 rrCalcNorm();

public:
    RRQuadric(RRTracer *arg);
    float rrHit(RRRay arg);
    RRVec4 rrCalcShadow(RRRay arg);
    RRVec4 rrCalcGlare(RRVec3 N);
    RRVec4 rrCalcTransparency(RRRay arg);
    RRVec4 rrTrace();
};

#endif // RRQUADRIC_H
